Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemVerilog: Parsing and type checking for queue types #967

Merged
merged 1 commit into from
Feb 9, 2025

Conversation

kroening
Copy link
Member

@kroening kroening commented Feb 5, 2025

This adds parsing and type checking for 1800-2017 7.10 queues.

@kroening kroening force-pushed the verilog-queue branch 2 times, most recently from 844da97 to dda8e5a Compare February 5, 2025 15:09
@kroening kroening marked this pull request as ready for review February 5, 2025 15:53
@tautschnig
Copy link
Collaborator

Is the change to the cbmc submodule intentional?

@kroening
Copy link
Member Author

kroening commented Feb 6, 2025

No, will fix.

This adds parsing and type checking for 1800-2017 7.10 queues.
@kroening
Copy link
Member Author

kroening commented Feb 6, 2025

Fixed

Comment on lines +2079 to +2080
std::string dest = "queue of ";
dest += convert(to_type_with_subtype(type).subtype());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intentional that this will not produce valid SystemVerilog?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes; since you need a declarator, there's not parse-able SystemVerilog just for the type.

@tautschnig tautschnig merged commit c2c8b0d into main Feb 9, 2025
9 checks passed
@tautschnig tautschnig deleted the verilog-queue branch February 9, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants